<template>
    <div class="app">


        <div class="app-body top-container">
            <!-- 左侧菜单控件 -->
            <main class="main">
                <div class="main-heading yz_border-bottom">
                    <h2>dweqqw</h2>
                </div>
                <router-view></router-view>
            </main>
        </div>
    </div>
</template>

<script>

    export default {
        components: {
        },
        data: function() {
            return {
                // 标题
                activeTitle: "",
            }
        },
        methods: {
            activeMenu: function(activeTitle){
                this.activeTitle = activeTitle;
            }
        },
        computed: {
            name () {
                return this.$route.name
            },

            list () {
                return this.$route.matched
            }
        }
    }
</script>

<style scoped lang="scss">
    .app{
        min-width: 900px;
        max-width: 1200px;
    }

</style>
